/*************************************************************************
	> File Name: 007.宏定义和typedef.c
	> Author: Maureen 
	> Mail: Maureen@qq.com 
	> Created Time: 五  8/27 18:48:03 2021
 ************************************************************************/

#include <stdio.h>

#define ppchar char *
typedef char * pchar;

int main() {
    pchar p1, p2;
    ppchar p3, p4; //相当于char *p3, p4; 其中p1是一个指向char类型的指针变量，p4是一个char类型的变量（1字节）
    printf("p1 = %lu, p2 = %lu\n", sizeof(p1), sizeof(p2)); //p1 = 8, p2 = 8
    printf("p3 = %lu, p4 = %lu\n", sizeof(p3), sizeof(p4)); //p3 = 8, p4 = 1
    return 0;
}


